{extend name="iframe" /}

{block name="body"}
{include file="breadcrumb" /}
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <form method="post" class="editData layui-form xn_ajax2" data-type="open" action="edit.html">
                <input type="hidden" name="id" value="{$data.id}">

                <div class="layui-form-item">
            <label class="layui-form-label">用户id</label>
            <div class="layui-input-inline">
                <input type="text" name="uid" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="{$data.uid}">
            </div>
            <div class="layui-form-mid layui-word-aux"></div>
        </div>
<div class="layui-form-item">
            <label class="layui-form-label">申请人id</label>
            <div class="layui-input-inline">
                <input type="text" name="mid" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="{$data.mid}">
            </div>
            <div class="layui-form-mid layui-word-aux"></div>
        </div>
<div class="layui-form-item">
            <label class="layui-form-label">申请理由</label>
            <div class="layui-input-inline">
                <input type="text" name="desc" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="{$data.desc}">
            </div>
            <div class="layui-form-mid layui-word-aux"></div>
        </div>
<div class="layui-form-item">
            <label class="layui-form-label">拒绝理由</label>
            <div class="layui-input-inline">
                <input type="text" name="msg" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="{$data.msg}">
            </div>
            <div class="layui-form-mid layui-word-aux"></div>
        </div>
  <div class="layui-form-item">
    <label class="layui-form-label">状态</label>
    <div class="layui-input-block">
     {foreach name="statusList" item="vo" key="key"}
      <input type="radio" name="status" value="{$key}" title="{$vo}" {if $data[status] ==$key }checked{/if} >
      {/foreach}
    </div>
  </div>
<div class="layui-form-item">
            <label class="layui-form-label">来源</label>
            <div class="layui-input-inline">
                <input type="text" name="form" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="{$data.form}">
            </div>
            <div class="layui-form-mid layui-word-aux"></div>
        </div>


                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" lay-filter="save" lay-submit class="layui-btn">保存</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
{/block}
